TERMINATE query_id | ALL; -- terminate all queries that output to stream S. TERMINATE ALL FOR STREAM S;